﻿<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<link rel="shortcut icon" href="jygt.ico">
	<title>信息列表 {$seo_title} {$site_name}</title>
	<tc_include file="Public:head" />
	<style>
		.pad-left{
			padding:10px 10px 10px 0;
		}
		.pad-full{
			padding:10px;
		}
		.pad-right{
			padding:10px 0 10px 10px;
		}
		.text-center {
		  text-align: center;
		}
	</style>
</head>
<body class="boxed">
	<div class="body">
		<!-- 通用头部 -->
		<div id="top"><tc_include file="Public:front_nav" /></div>
		<div class="shade-bg">
			<img src="__TMPL__Public/front/img/sha.png" class="slidershadow" alt="">
		</div>
		<!-- 内容部分 -->
		<div class="container">
			<div class="jumbotron" style="background:url(__TMPL__Public/front/img/contbg.jpg) no-repeat;">
				<h1 style="color:yellow"><b>{$name}</b></h1>
			</div>
			<div class="row">
				<div class="col-md-3">
					<div class="panel-group table-responsive" role="tablist">
						<div class="panel panel-primary">
							<div class="panel-heading">
								<h4 class="panel-title">
									{:sp_get_term($parent)['name']}
								</h4>
							</div>
							<ul class="list-group">
							<volist name=":sp_get_all_child_terms($parent)" id="vo">
								<li class="list-group-item"><a href="{:U('list/index',array('id'=>$vo['term_id']))}">{$vo.name}</a></li>
							</volist>
							</ul>
						</div>
					</div>
				</div>
				<div class="col-md-9" style="padding-left:15px;">
					<div>
						<ol class="breadcrumb">
							<li><a href="/">首页</a></li>
							<li>{:sp_get_term($parent)['name']}</li>
							<li class="active">{$name}</li>
						</ol>
					</div>
					<table id="tblist" class="table table-striped table-hover">
						<tbody>
							<php> $lists =
							sp_sql_posts_paged("cid:$cat_id;order:post_date DESC;",10); </php>
							<volist name="lists['posts']" id="vo"> <php>
							$smeta=json_decode($vo['smeta'], true); </php>
							<tr>
								<td><a
									href="{:leuu('article/index',array('id'=>$vo['object_id'],'cid'=>$vo['term_id']))}">{$vo.post_title}</a>
								</td>
								<td style="width: 120px;">{:date('Y年m月d日',strtotime($vo['post_date']))}</td>
							</tr>
							</volist>

							<empty name="lists['posts']">
							<tr>
								<td>暂无内容</td>
							</tr>
							</empty>
						</tbody>
					</table>
					
					<div style="text-align:center;">
						<div class="pagination"><ul>{$lists['page']}</ul></div>
					</div>
				</div>
			</div>
			
		</div>
		<!-- 通用底部-->
		<tc_include file="Public:footer" />
  	</div>
	<tc_include file="Public:scripts"/>
</body>
</html>